/*
 * @name: **列表
 * @content:
 * @Author: joyce
 * @Date: 2020-08-09 20:37:31
 */
// const API_URL = `https://jifen.zhportinfo.com`;
const API_URL = `https://jifen.zhportinfo.com/api/v1/`;
// const API_URL = `http://127.0.0.1:4433/api/v1/`;

const defaultAvatarURL = `https://jifen.zhportinfo.com/images/userAvatar/`;

const IMAGE_URL = `https://jifen.zhportinfo.com/images/upload/`;

//PC端富文本图片上传
const rich_text_img = `https://jifen.zhportinfo.com/api/v1/upload`;
//PC富文本图片名字前缀
const rich_text_img_prefix = `https://jifen.zhportinfo.com/images/fwImg/`;
//投票图片名字前缀
const Voting_img_prefix = `https://jifen.zhportinfo.com/images/voteimg/`;
//问卷图片名字前缀
const Question_img_prefix = `https://jifen.zhportinfo.com/images/questionimg/`;
//轮播图图片名字前缀
const advertisements_img_prefix = `https://jifen.zhportinfo.com/images/advertisements/`;
//商品图片名字前缀
const commodity_img_prefix = `https://jifen.zhportinfo.com/images/commodity/`;

export {
  API_URL, //图片
  defaultAvatarURL, //头像
  IMAGE_URL, //图片
  rich_text_img,
  rich_text_img_prefix,
  Voting_img_prefix,
  Question_img_prefix,
  advertisements_img_prefix,
  commodity_img_prefix
};
